var server_web_name = 'http://www.pmweb5.com/'
var server_api_name = 'http://www.pmapi5.com/'
var server_doc_name = 'http://www.pmapi5.com/'
var server_socket_name = 'ws://127.0.0.1:3333'




// var server_web_name = 'https://pm5.zhuwe.net/';
// var server_api_name = 'https://api.pm5.zhuwe.net/';
// var server_doc_name = 'https://doc.pm5.zhuwe.net/'
// var server_socket_name = 'ws://211.149.170.41:3513'
// var server_socket_name = 'wss://socket.pm5.zhuwe.net/wss'



// function IsMobile() {
//     var isMobile = window.navigator.userAgent.match(/(phone|pad|pod|SymbianOS|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i); // 是否手机端
//     var isWx = /micromessenger/i.test(navigator.userAgent); // 是否微信
//     var isComWx = /wxwork/i.test(navigator.userAgent); // 是否企业微信
//     if(isMobile || isWx || isComWx){
//         return true;
//     }else{
//         return false;
//     }
// }

loadInit();
function loadInit(){
    var UrlArr = ['cert','contract','daily','device','engin','finance','flowdata','index','labour','piao','printup','scene'
       ,'shou','stuff','user','warn','welcome','xing','zhi'];
    for (var key in UrlArr){
        document.write("<script language=javascript src='/static/admin/url/"+UrlArr[key]+".js'></script>");
    }
}
















